package edu.nf.api.controller.alipay.config;

import java.util.UUID;

/**
 * @Date 2023/9/6
 * @Author zgm
 * 支付宝app的属性
 */
public interface ZfbPay {
    /**
     * @author jiangfeng
     * RSA2:密钥的加密方式
     * CHARSET:编码
     * URL:沙箱环境的网关
     * FORMAT:设置请求类型
     * APPID:APPID
     * APP_PRIVATE_KEY:应用的私钥
     * ALIPAY_PUBLIC_KEY:支付宝公钥配置，而不是应用公钥的配置
     * 设置订单号:UUId+date
     */
    String RSA2 = "RSA2";
    String CHARSET = "UTF-8";
    String URL = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";
    String FORMAT = "json";
    String APPID = "9021000122692555";
    String APP_PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC6Iz4NehOU3pSgr2yNvDpZxx/1hns2vLL96ge3rjqgxYMU4clp3GnDrmdoACNi2aH677YBFh4Ct4z7c/mhuRPJMIqH0o8vZz4+TCDQ/jd92yGgiP4koIQ4l7SEfSW88YbA2FFVVGEFi24x0SuN0OMKhClF+muIVi4LARtKMjS2TgS5W9ZksnwofYhwMCVktDTIRISu6j/zdWgGgHMsXz25ykJO3tp5OfsIuGOCljhyKJGXqcul84MS/BzufDu/qJjupU3EvE1Mlut0wCfYi+3TG7mWSDL47MeEcLEQ16nb8TYWXOyCl+EqJmxNrA7Sfi1mRXY9k3RmbqOYm6mB8CMTAgMBAAECggEBAIG2KXnuxlKJwX0wgi9LKkaB8w2AR8DfQsSbIAGqUoTS3wPgTCGPTczlbn4VCpPKIYzjGywqo4M1MfPQ3/cJKHadcwwveUSJZ+C14HCDl1wHJqnejWwsx7dAULW7GF9Q2Jzuoc8a2/mnLoVcxEMxe+ZKLxDq76C0naVhggj0b7NR+1OEEmf1cUDjO0g0MDpeG1shkQbNgTNL5ae5vyeEBKIdY0ARViguj+5P+uOWrp58tveAkvo7T8CIYKXPZm1M4tw3Kz3vdVVsvNETRHElgAeA/qLLTa+0nmipPWlLIwV2muK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6j9agyju1eKBsUrizkA36UEAqtWd0Lw2tYuT0UlQQk5yD+TbYWORMW9Ec0ZXxDtx2fFC1+1MOgl/IvSwylixKVdF2RgS1J9Z7qqCOUtcI0PtLW9E77ifjOOP6phcdF6hgBu4aCNQFMUkQAuUnDjyrcfOzH6QV5WBOHiYuYAQBO6yecicQuJpm/mBK+loTUrG3Ttpr7cF56l7yQPS5W5sR6XAENcDkE0tlTaL6MUgVTrgikX1TPTwIDAQAB";
    String UUId = String.valueOf(UUID.randomUUID().toString().replace("-", "").hashCode());
    String date = String.valueOf(System.currentTimeMillis());
    String OrderId = UUId+date;
}
